projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2449e3a
)
(dired-readin): Inhibit modification hooks.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 22 Dec 2008 19:28:22 +0000
(19:28 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 22 Dec 2008 19:28:22 +0000
(19:28 +0000)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index e0e72a1847ead339942b32aa4b00cf11cb9bf6d1..f23c109af1c0a66536e5c7d591837d834dcacafc 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-858,7
+858,11
@@
wildcards, erases the buffer, and builds the subdir-alist anew
;; default-directory and dired-actual-switches must be buffer-local
;; and initialized by now.
- (let (dirname)
+ (let (dirname
+ ;; This makes readin much much faster.
+ ;; In particular, it prevents the font lock hook from running
+ ;; until the directory is all read in.
+ (inhibit-modification-hooks t))
(if (consp dired-directory)
(setq dirname (car dired-directory))
(setq dirname dired-directory))